﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CorsatAdminApp.Library.TempTaskClasses
{
    public class Bus
    {
        #region private variable

        private int _busId;
        private char _busLetter;
        private int _capacity;
        private bool _isServant;

        #endregion

        #region public properties

        public int BusId
        {
            get { return _busId; }
            set { _busId = value; }
        }
        public char BusLetter
        {
            get { return _busLetter; }
            set { _busLetter = value; }
        }
        public int Capacity
        {
            get { return _capacity; }
            set { _capacity = value; }
        }
        public bool IsServant
        {
            get { return _isServant; }
            set { _isServant = value; }
        }
        #endregion

        #region Constructor

        public Bus()
        {
        }

        #endregion

        #region private Methods


        #endregion

        #region public Methods

        #endregion

        #region override
        public override string ToString()
        {
            return BusLetter.ToString();
        }
        #endregion
    }
}
